package c.x.jy.dao.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 会员充值账户流水
 * 
 * @author amwhyh
 * @email xxx@xx.com
 * @date 2021-05-30 15:19:46
 */
@Data
@TableName("t_member_recharge_record")
public class MemberRechargeRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 编号
	 */
	private String rechargeCode;
	/**
	 * 商家ID
	 */
	private Long memberId;
	/**
	 * 充值时间
	 */
	private Date createTime;
	/**
	 * 账户充值金额
	 */
	private BigDecimal rechargeMoney;
	/**
	 * 充值账户后余额
	 */
	private BigDecimal rechargeBalance;
	/**
	 * 1,充值 2,支付佣金 3,冻结佣金
	 */
	private Integer type;
	/**
	 * 流水描述
	 */
	private String comment;
	/**
	 * 
	 */
	private String payNo;
	/**
	 * 0 未支付 1 已支付
	 */
	private Integer status;
	/**
	 * 充值 商家
	 */
	private Long businessId;
	/**
	 * 支付订单 ID
	 */
	private Long payOrderId;
	/**
	 * 充值套餐ID
	 */
	private Long rechargeId;
	/**
	 * 账户赠送金额
	 */
	private BigDecimal giverechargeMoney;

}

